package com.guofen.dao;

import com.guofen.pojo.SjqDeodorizationRunningTwo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SjqDeodorizationRunningTwoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SjqDeodorizationRunningTwo record);

    int insertSelective(SjqDeodorizationRunningTwo record);

    SjqDeodorizationRunningTwo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SjqDeodorizationRunningTwo record);

    int updateByPrimaryKey(SjqDeodorizationRunningTwo record);

    SjqDeodorizationRunningTwo findLast();

    List<SjqDeodorizationRunningTwo> selectAll();

    List<SjqDeodorizationRunningTwo> selectByDate(@Param("startDate") String startDate,
                                       @Param("endDate") String endDate);
}